﻿using System;

namespace RoketSolutions.SP2010.Infrostructure.Localization.Attributes
{
    [AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
    public class ResourceKeyAttribute : Attribute
    {
        public string Key { get; set; }

        public ResourceKeyAttribute(string key)
        {
            Key = key;
        }

        public ResourceKeyAttribute() : this(string.Empty)
        {
            
        }
    }
}